import React, { Component } from 'react'
import TT from './components/TT'
import JJ from './components/JJ'
import Far from './Far'

export default class App extends Component {
  render() {
    return (
      <div>
        {/* <Far
          render={(state) => {
            return <JJ {...state}></JJ>
          }}
        ></Far>
        <Far
          render={(state) => {
            return <TT {...state}></TT>
          }}
        ></Far> */}
        <Far>{(state) => <JJ {...state}></JJ>}</Far>
        <Far>{(state) => <TT {...state}></TT>}</Far>
      </div>
    )
  }
}
